package net.kucoe.grin.sample.printing;

import net.kucoe.grin.Item;

/**
 * Printed string representation result.
 * 
 * @author Vitaliy Basyuk
 */
@Item
public class PrintedString {
    
    /**
     * Underlying string
     */
    public final String string;
    
    /**
     * Whether sting is printed or not
     */
    public final boolean printed;
    
    /**
     * Constructs PrintedString.
     * 
     * @param string
     */
    public PrintedString(final String string) {
        this.string = string;
        printed = false;
    }
    
    /**
     * Constructs PrintedString which is printed.
     * 
     * @param string
     * @param printed
     */
    public PrintedString(final String string, final boolean printed) {
        this.string = string;
        this.printed = printed;
    }
}
